package com.tour.bean;

import java.io.Serializable;
import java.util.Date;

/**
 *  user_hotel
 * @author  2020-03-16
 * 用户和酒店关联
 */
public class UserHotel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Integer consId;

    /**
     * 景区id
     */
    private Integer hotelId;

    /**
     * 创建时间
     */
    private Date currTime;

    public UserHotel() {
    }

    public Integer getConsId() {
        return consId;
    }

    public void setConsId(Integer consId) {
        this.consId = consId;
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public Date getCurrTime() {
        return currTime;
    }

    public void setCurrTime(Date currTime) {
        this.currTime = currTime;
    }

    public UserHotel(Integer consId, Integer hotelId, Date currTime) {
        this.consId = consId;
        this.hotelId = hotelId;
        this.currTime = currTime;
    }

    @Override
    public String toString() {
        return "UserHotel{" +
                "consId=" + consId +
                ", hotelId=" + hotelId +
                ", currTime=" + currTime +
                '}';
    }
}
